package com.itboye.ihomebank.me.key;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.itboye.ihomebank.R;
import com.itboye.ihomebank.base.BaseOtherActivity;
/**
 * 密码管理
 * @author 
 *
 */
public class PassManagement extends BaseOtherActivity implements OnClickListener{
	ImageView close_icon;//返回图片
	TextView add_shap_title_tv;//标题
	RelativeLayout admin_pass;//管理员密码
	RelativeLayout delete_pass;//删除密码
	RelativeLayout send_key_pass;//发送键盘密码
	RelativeLayout reset_key_pass;//重置键盘密码
	RelativeLayout backups_key_pass;//备份键盘密码
	RelativeLayout down_backups_pass;//下载备份密码

	@Override
	public void onClick(View v) {
		Intent intent = null;
		switch (v.getId()) {
		case R.id.close_icon://返回
			finish();
			break;
		case R.id.admin_pass://管理员密码
			intent=new Intent();
			startActivity(intent);
			break;
		case R.id.delete_pass://删除密码
			intent=new Intent();
			startActivity(intent);
			break;
		case R.id.send_key_pass://发送键盘密码
			intent=new Intent();
			startActivity(intent);
			break;
		case R.id.reset_key_pass://重置键盘密码
			intent=new Intent();
			startActivity(intent);
			break;
		case R.id.backups_key_pass://备份键盘密码
			intent=new Intent();
			startActivity(intent);
			break;
		case R.id.down_backups_pass://下载备份密码
			intent=new Intent();
			startActivity(intent);
			break;

		default:
			break;
		}
		
	}

	@Override
	protected int layout_id() {
		// TODO Auto-generated method stub
		return R.layout.activity_pass_management;
	}

	@Override
	protected void onInitController() {
		// TODO Auto-generated method stub
		
	}

	@Override
	protected void onInit() {
		// TODO Auto-generated method stub
		add_shap_title_tv.setText("密码管理");

	}

	@Override
	protected void onReadIntent(Bundle bundle) {
		// TODO Auto-generated method stub
		
	}

}
